﻿using System.ComponentModel;

namespace LibreTimeTracker.Library
{
  public class CheckInState : INotifyPropertyChanged
  {
    public event PropertyChangedEventHandler PropertyChanged;
    private bool _isCheckedIn;

    public CheckInState()
    {
    }

    public bool IsCheckedIn
    {
      get
      {
        return _isCheckedIn;
      }
      set
      {
        if (_isCheckedIn != value)
        {
          _isCheckedIn = value;
          if (this.PropertyChanged != null)
          {
            this.PropertyChanged(this, new PropertyChangedEventArgs("IsCheckedIn"));
          }
        }
      }
    }

  }
}
